package com.zyf.chapter01.principle.LOD;

import com.zyf.chapter01.principle.LOD.refactor.Serializable;

/**
 * 仅仅使用了序列化
 * 满足接口隔离原则
 * 满足基于接口而非实现编程
 * @author yifeng
 */
public class DemoClass_1 {
    private Serializable serializer;

    public DemoClass_1(Serializable serializer) {
        this.serializer = serializer;
    }
}
